package inherit.homework1;

public class JavaTeacher extends Instructor{
    public JavaTeacher(String name, String sex, int age, int yearsOfTeach, String address) {
        super(name, sex, age, yearsOfTeach, address);
    }
    @Override
    public void giveLession() {
        System.out.println("打开Eclipse,实施理论课授课");

    }
}
